<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <title>医生介绍</title>
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <link rel="stylesheet" href="/lobsteruiframe/weui/css/weui.css" />
    <link rel="stylesheet" href="/lobsteruiframe/weui/css/weuix.css" />
    <script src="/lobsteruiframe/weui/js/zepto.min.js"></script>
    <script src="/lobsteruiframe/weui/js/zepto.weui.js"></script>
    <script src="/lobsteruiframe/weui/js/swipe.js"></script>
    <script src="/lobsteruiframe/weui/js/macy.js"></script>
    <script src="/jslib/lobster.js"></script>
    <script src="/jslib/template-web.js"></script>

    <script src="js/moment.min.js"></script>
    <script src="js/doctorinfo.js"></script>


    <style>
        .haoyuan {
            background-color: #FFFFFF;
            margin-top:5px;
            /* border-top-left-radius: 10px;
            border-top-right-radius: 10px;
            box-shadow: 0 0 15px #eee; */
            /* margin: 15px; */
        }

        .item {
            padding-bottom: 5px;
            border-top: 1px solid #CCC;
        }




        .greenbtn {
            color: #07C160;
            /* border: 1px solid #07C160; */
        }


        .label {
            margin: 0.3125em 0.3125em 0 0;
            display: inline-block;
            position: relative;
            line-height: 1.4em;
            height: 1.4em;
            padding: 0 0.625em;
            border: 1px solid #cacccd;
            border-radius: 0.1875em;
            min-width: 50px;
            text-align: center;
        }


        .otc_time {
            width: 96%;
            line-height: 60rpx;
            margin: 0 2%;

            max-height: 400px;
            min-height: 300px;
            overflow-y: auto;
        }

        .otc_timeview {
            display: inline-block;
            margin: 10px 2%;
            border: 1px #bdbdbd solid;
            box-sizing: border-box;
            border-radius: 10px;
            padding: 5px;
        }

        .otc_time text {
            display: block;
            text-align: center;
            line-height: 20px;
        }

        .weui-cell:before {
            display: none;
        }
    </style>
</head>

<body ontouchstart class="page-bg">
    <div class="page-hd" id="docinfo" style="background-color: #FFFFFF;">
    </div>
    <div class="page-bd haoyuan">
        <div class="weui-panel__hd">医生服务</div>
        <div class="weui-panel__bd">
            <div class="weui-media-box weui-media-box_appmsg ">
                <div class="weui-media-box__hd">
                    <img class="weui-media-box__thumb" src="images/yygh.png" alt="">
                </div>
                <div class="weui-media-box__bd">
                    <h4 class="weui-media-box__title">预约挂号</h4>
                    <p class="weui-media-box__desc">预约挂号</p>
                </div>
                <div class="weui-media-box__hd toregister" style="width:100px; text-align: right;">
                    <label class="label f-green b-green">预约</label>
                </div>
            </div>
            <div class="weui-media-box weui-media-box_appmsg">
                <div class="weui-media-box__hd">
                    <img class="weui-media-box__thumb" src="images/zndz.png" alt="">
                </div>
                <div class="weui-media-box__bd">
                    <h4 class="weui-media-box__title">互联网问诊</h4>
                    <p class="weui-media-box__desc">互联网问诊</p>
                </div>
                <div class="weui-media-box__hd tointerrogation" style="width:100px; text-align: right;">
                    <label class="label f-green b-green">问诊</label>
                </div>
            </div>
        </div>
    </div>

    <div class="page-bd-15" style="margin-top:5px;padding-bottom:15px;background-color: #FFFFFF;" id="evaluationinfo">
        
    </div>

    <div id="half" class='weui-popup__container popup-bottom'>

    </div>

</body>

</html>

<script type="text/template" id="tpldoctorinfo">
    <div>
        <a href="javascript:void(0);" class="weui-media-box weui-media-box_appmsg">
            <div class="weui-media-box__hd">
                <img class="weui-media-box__thumb" src="{{HeadImg || 'images/doc_chat.png'}}" alt="">
            </div>
            <div class="weui-media-box__bd">
                <h4 class="weui-media-box__title">{{EmpName}}</h4>
                <p class="weui-media-box__desc">{{DoctorPost}} {{DeptName}}</p>
            </div>
        </a> 

    </div>
    <div style="margin: 0 15px;">
        <div class=" weui-flex__item"> 
            <span class="page-hd-desc ell"> {{!Describe?'擅长:暂无数据':Describe}}</span>
        </div>
       
    </div>
</script>

<script type="text/template" id="tplrange">
    <div class="weui-popup__overlay"></div>
    <div class="weui-popup__modal">
        <div class="toolbar">
            <div class="toolbar-inner">
                <a href="javascript:;" class="picker-button close-popup">关闭</a>
                <h1 class="title">选择时间段</h1>
            </div>
        </div>
        <div class="modal-content">
            <div class="weui-cells weui-cells_form">
                <!-- <div class="weui-loadmore" id="weui-loadmore">
                    <i class="weui-loading"></i>
                    <span class="weui-loadmore__tips">正在加载</span>
                </div> -->
                <div class="otc_time"> 
                    {{each list}}
                        <div class="otc_timeview {{$value.Status==1?'f-gray':''}} {{$value.IsExpire==1?'f-gray':''}}" data-info="{{$value}}">
                            {{if($value.TimeType==1)}}
                            <text class='f-gray f11'>{{$value.RegDate}}(上午)</text>
                            {{else if($value.TimeType==2)}}
                            <text class='f-gray f11'>{{$value.RegDate}}(下午)</text>
                            {{else if($value.TimeType==3)}}
                            <text class='f-gray f11'>{{$value.RegDate}}(晚上)</text>
                            {{/if}}
                            <text>{{$value.StartTime}}-{{$value.EndTime}}</text>
                            <text class="otc_time_0827">(剩:{{$value.HaveCount}})</text>
                        </div>
                    {{/each}} 
                </div>
            </div>
        </div>
    </div>
</script>

<script type="text/template" id="tplevaluation">
<div class="weui_cells_title">评价</div>
<ul class="weui-comment">


    {{each list}}
    <li class="weui-comment-item">
        <div class="weui-comment-li btngivecount" data-id="{{$value.ID}}">
            <span class="check checked"> <i class="weui-comment-icon"></i> <span class="weui-comment-num">{{$value.GiveCount}}</span>
            </span>
        </div>
        <div class="userinfo"> <strong class="nickname">{{$value.PatName}}</strong> <img class="avatar" src="">
        </div>
        <div class="weui-comment-msg"> <span class="status"></span> {{$value.EvaluateContent}} </div>
        <p class="time">{{$value.EvaluateTime}} </p>
        {{if($value.ReplyContent!='')}}
        <div class="weui-comment-reply">
            <div class="nickname">{{$value.DocName}}医生回复</div>
            <div class="weui-comment-msg">{{$value.ReplyContent}}</div>
            <p class="time">{{$value.ReplyTime}}</p>
        </div>
        {{/if}}
    </li>
    {{/each}}
</ul>
<div class="weui-btn-area">
    <a class="weui-btn  weui-btn_plain-default" href="javascript:" id="btnAllEvaluation">全部评价</a>
</div>
</script>